<?php

namespace Admin\Mobile\Api;

use Helpers\BaseApi;

/**
 * @SWG\Swagger(
 *   schemes={"http", "https"},
 *   basePath="/mobile/",
 *   consumes={"text/html"},
 *   produces={"application/json"},
 *   @SWG\Info(
 *     version="1.0",
 *     title="学海教育手机端接口",
 *     description="手机端相关信息接口<br>
含有<strong>“分页”</strong>说明的不再单独写model，格式如下：<br />
{page: 页码, size: 行数, totalPage: 总页数, total: 总行数, rows: [{},{}]}",
 *     @SWG\Contact(email="ck@100fen.com"),
 *   ),
 *
 *   @SWG\Tag(
 *     name="Home",
 *     description="首页",
 *   ),
 *
 *   @SWG\Tag(
 *     name="Mine",
 *     description="我的",
 *   ),
 *
 *   @SWG\Tag(
 *     name="Shortcut",
 *     description="快捷键",
 *   ),
 *
 *   @SWG\Tag(
 *     name="Sys",
 *     description="系统",
 *   ),
 *
 *   @SWG\Tag(
 *     name="Task",
 *     description="代办",
 *   )
 * )
 */
class Base extends BaseApi
{

}

/**
 * @SWG\Definition(
 *      definition="Success",
 *      required={"code", "msg"},
 *      @SWG\Property(property="code", description="状态码", type="integer"),
 *      @SWG\Property(property="msg", description="成功信息", type="string")
 * )
 * @SWG\Response(response="Success", description="成功", @SWG\Schema(ref="#/definitions/Success"))
 */

/**
 * @SWG\Definition(
 *      definition="Error",
 *      required={"code", "error"},
 *      @SWG\Property(property="code", description="错误码", type="integer"),
 *      @SWG\Property(property="error", description="错误信息", type="string"),
 *      @SWG\Property(property="msg", description="错误描述", type="string")
 * )
 * @SWG\Response(response="Error", description="错误", @SWG\Schema(ref="#/definitions/Error"))
 */
